package com.LearnInWorld.video.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 视频表实体类
 * <p>
 * 注释:
 * 一个课程有多个视频
 */
@Data
@Table(name = "tb_video")
public class Video {
    @Id
    //视频id
    private String id;
    //视频名称
    private String videoName;
    //视频数量
    private Long num;
    //视频图片
    private String image;
    //视频图片列表
    private String images;
    //视频介绍
    private String videoIntroduce;
    //上传日期
    @Column(name = "timetable_up_time")
    private Date timetableUpTime;
    //视频类型
    @Column(name = "timetable_type")
    private String timetableType;
    //播放次数
    private Long playNum;
    //视频url
    private String timetableUrl;
    //视频大小
    private Long size;
    //评论数
    private Long commentNum;

}
